﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Presenters;

namespace University.Workshop.Tests.Mocks
{
    public class GiftMockView:IGifts
    {
        public string NameGift
        {
            get;
            set;
        }

        public string NameGiftFromTable
        {
            get;

            private set;
        }

        public string PriceGift
        {
            get;
            set;
        }

        public System.Data.DataTable TableGifts
        {
            get;
            set;
        }
        public void ValidDatesGift()
        {
            NameGift = "premio1";
            PriceGift = "123,2";
        }
        public void ValidDatesExistGift()
        {
            NameGift = "PLANCHA2";
            PriceGift = "123.2";
        }
        
        public void InvlaidName()
        {
            NameGift = "premio1A/";
            
        }
        public void InvalidPrice()
        {
            NameGift = "premio1";
            PriceGift = "123,2,8e";
        }

        public void ValidNameFromTable()
        {
            NameGiftFromTable = "PLANCHA";
        }
    }
}
